package com.leeon.generics;

class Generic<T>{}

public class ArrayOfGeneric {

	static final int size = 100;
	static Generic<Integer>[] gia;
	
	@SuppressWarnings("unchecked")
	public static void main(String[] args){
		//gia = (Generic<Integer>[]) new Object[size];
		//System.out.println(gia.getClass().getSimpleName());
		gia = (Generic<Integer>[]) new Generic[size];
		System.out.println(gia.getClass().getSimpleName());
	}
}
